﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mindfor.Web.Config
{
	/// <summary>
	/// Represents an error while loading CMS configuration.
	/// </summary>
	[Serializable]
	public class CmsConfigException : Exception
	{
		/// <summary>
		/// Initializes new instance with custom message.
		/// </summary>
		/// <param name="message">Error message.</param>
		public CmsConfigException(string message)
			: base(message)
		{
		}

		/// <summary>
		/// Initializes new instance with custom message and inner exception.
		/// </summary>
		/// <param name="message">Error message.</param>
		/// <param name="innerException">Inner exeption of current exception.</param>
		public CmsConfigException(string message, Exception innerException)
			: base(message, innerException)
		{
		}
	}
}
